package com.stxx.stiot2.service;


import com.stxx.framwork.support.BaseService;
import com.stxx.stiot2.domain.Device;
import com.stxx.stiot2.domain.Scene;
import com.stxx.stiot2.domain.Terminal;

import java.sql.SQLException;
import java.util.Collection;
import java.util.List;

/**
 * @author Fuzhenlei
 * @date 2025/01/15 16:40
 */
public interface SceneService extends BaseService<Scene,Integer> {
    List<Scene> queryForExec(String profileCode,String terminalCode);

    List<Scene> queryByProfileCode(String profileCode);

    List<Scene> queryByTerminalCode(String terminalCode);

    List<Scene> queryByIds(Collection<Integer> ids) throws SQLException;


    int changeStatus(Integer id, Boolean status) throws SQLException;
}
